using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.SessionState;
using System.Timers;
using Channelvn.Cached.Common;
using Channelvn.Cached;
using Channelvn.Cached.Base;
using QLHD.BUS;

namespace QLHD
{
    public class Global : System.Web.HttpApplication
    {

        protected void Application_Start(object sender, EventArgs e)
        {
           
        }

        protected void Application_End(object sender, EventArgs e)
        {

        }

        protected void Application_Error(Object sender, EventArgs e)
        {
            Exception ex = Server.GetLastError().GetBaseException();
            CreateLogFiles Err = new CreateLogFiles();
            Err.ErrorLog(Server.MapPath("/ErrorLog"), Environment.NewLine + Environment.NewLine + Request.RawUrl.ToString() + Environment.NewLine + ex.Message + Environment.NewLine + ex.StackTrace);
       
        }

    }
}